package com.billow.net.rtmp
{
	import flash.net.ObjectEncoding;
	
	internal class ClientControlInfo extends Object
	{
		private var _remoteAddress:String = "";
		private var _remotePort:uint = 0;
		private var _connected:Boolean = false;
		private var _id:String = "";
		private var _objectEncoding:uint = ObjectEncoding.AMF0;
		private var _application:String = "";
		private var _flashVersion:String = "";
		private var _swfURL:String = "";
		private var _tcURL:String = "";
		private var _pageURL:String = "";
		private var _invokeName:String;
		
		public function get invokeName():String {return _invokeName;}
		public function set invokeName(value:String):void {_invokeName = value;}
		
		public function get remoteAddress():String {return _remoteAddress;}
		public function set remoteAddress(value:String):void {_remoteAddress = value;}
		
		public function get remotePort():uint {return _remotePort;}
		public function set remotePort(value:uint):void {_remotePort = value;}
		
		public function get connected():Boolean {return _connected;}
		public function set connected(value:Boolean):void {_connected = value;}
		
		public function get id():String {return _id;}
		public function set id(value:String):void {_id = value;}
		
		public function get objectEncoding():uint {return _objectEncoding;}
		public function set objectEncoding(value:uint):void {_objectEncoding = value;}
		
		public function get application():String {return _application;}
		public function set application(value:String):void {_application = value;}
		
		public function get flashVersion():String {return _flashVersion;}
		public function set flashVersion(value:String):void {_flashVersion = value;}
		
		public function get swfURL():String {return _swfURL;}
		public function set swfURL(value:String):void {_swfURL = value;}
		
		public function get tcURL():String {return _tcURL;}
		public function set tcURL(value:String):void {_tcURL = value;}
		
		public function get pageURL():String {return _pageURL;}
		public function set pageURL(value:String):void {_pageURL = value;}
		
		public function toString():String
		{
			return  "address = " + remoteAddress +
				", port = " + remotePort +
				", connected = " + connected +
				", objectEncoding = " + objectEncoding +
				", application = " + application +
				", flashVersion = " + flashVersion +
				", swfURL = " + swfURL +
				", tcURL = " + tcURL +
				", pageURL = " + pageURL;
		}
	}
}